home *** CD-ROM | disk | FTP | other *** search
- /* testget.c - test viewget.c (get_cmd function) */
- #include "stdio.h"
- #include "cminor.h"
-
- int open_file(fn)
- char fn[] ;
- {
- int ret ;
- printf("\n open_file called - fn = %s\n",fn) ;
- printf("return code:") ;
- scanf("%d",&ret) ;
- return(ret) ;
- }
-
-
- int set_filesize(chk_ctlz)
- int chk_ctlz ;
- {
- printf("\n set_filesize called - chk_ctlz = %d \n",chk_ctlz) ;
- }
-
-
- int exec_cmd(cmd)
- int cmd ;
- {
- printf("\n execcmd called \n") ;
- printf("cmd= %d \n",cmd) ;
- }
-
-
- int close_file()
- {
- printf("\n close_file called\n") ;
- }